'''
Created on 2020-4-21
@author：menglei
'''
from pdd.api.base import sign


class AppInfo(object):
    def __init__(self, clientId, clientSecret):
        self.client_id = clientId
        self.client_secret = clientSecret


def getDefaultAppInfo():
    pass


def setDefaultAppInfo(clientId, clientSecret):
    default = AppInfo(clientId, clientSecret)
    global getDefaultAppInfo
    getDefaultAppInfo = lambda: default
